Skip to content

Initial project setup: HTTP to NNTP bridge with Leptos and GitHub Actions#2

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/fix-1
Closed

Initial project setup: HTTP to NNTP bridge with Leptos and GitHub Actions#2
Copilot wants to merge 2 commits intomainfrom
copilot/fix-1

Conversation

Copy link

Copilot AI commented Jul 15, 2025

This PR implements the complete initial project setup for a HTTP to NNTP bridge server written in Rust using the Leptos web framework.

🚀 Features Implemented

Core Architecture

  • Leptos Web Framework: Modern SSR-enabled web application with routing
  • Axum HTTP Server: High-performance async web server with CORS support
  • NNTP Client Integration: Foundation for newsgroup connectivity using the nntp crate
  • Bridge Service: Modular architecture for HTTP ↔ NNTP protocol translation

Project Structure

src/
├── lib.rs          # Library entry point with module exports
├── main.rs         # HTTP server binary with Leptos integration
├── app.rs          # Frontend components (Home, Groups, Articles pages)
├── error.rs        # Centralized error handling with thiserror
├── nntp.rs         # NNTP client wrapper with async support
└── bridge.rs       # HTTP to NNTP bridge service

Development Experience

  • GitHub Actions CI/CD: Automated testing, building, and security auditing
  • Modern Tooling: Configured with proper Rust 2021 edition features
  • Documentation: Comprehensive README with setup and usage instructions
  • Responsive UI: SCSS-based styling with mobile-first design

Configuration Files

  • Cargo.toml: Complete dependency setup for web and NNTP functionality
  • Leptos.toml: Leptos-specific configuration for SSR and development
  • .github/workflows/ci.yml: Full CI/CD pipeline with caching

🧪 Testing & Verification

The project successfully:

  • ✅ Builds without warnings: cargo build
  • ✅ Passes all tests: cargo test
  • ✅ Runs development server: cargo run (http://127.0.0.1:3000)
  • ✅ Validates with GitHub Actions workflow

🎯 Next Development Steps

The foundation is now ready for:

  • Full NNTP protocol implementation
  • Interactive newsgroup browsing UI
  • Article viewing and posting functionality
  • User authentication and session management
  • Performance optimizations with caching

Fixes #1.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…itHub Actions

Co-authored-by: Chemiseblanc <12463340+Chemiseblanc@users.noreply.github.com>
Copilot AI changed the title [WIP] Initial project setup Initial project setup: HTTP to NNTP bridge with Leptos and GitHub Actions Jul 15, 2025
Copilot AI requested a review from Chemiseblanc July 15, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initial project setup

2 participants